<template>
  <el-dialog
    :visible.sync="dialogVisible"
    :before-close="handleClose"
    :close-on-click-modal="false"
    title="解锁"
    width="40%">
    <span>这是一段信息</span>
    <span slot="footer">
      <el-button type="primary" icon="el-icon-receiving" >
        验证
      </el-button>
      <el-button icon="el-icon-unlock" >
        解锁
      </el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  name: '',
  components: {},
  mixins: [],
  props: {},
  data() {
    return {
      dialogVisible: false
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    handleOpen() {
      this.dialogVisible = true
    },
    handleClose() {
      Object.assign(this.$data, this.$options.data.call(this))
    }
  }
}
</script>

<style scoped lang="scss"></style>
